package com.gopay.common.domain.cauth;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 角色
 * 
 * @CAuthRoleInfo.java
 * @author yaobo
 * @2013-8-8 下午04:14:12 www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "CAUTH_ROLE_INFO")
public class CAuthRoleInfo extends BaseEntity {

    /**
     * 
     */
    private static final long serialVersionUID = -4569040666222238769L;

    @Id
    @Column(name = "ROLE_ID")
    private String roleId;

    @Column(name = "ROLE_NAME")
    private String roleName;

    @Column(name = "DEPARTMENT_ID")
    private String departId;

    @Column(name = "REMARK")
    private String remark;

    @Column(name = "CREATED_TS")
    private Date created;

    @Column(name = "LAST_UPD_TS")
    private Date modified;

    @Column(name = "LAST_UPD_TRANCODE")
    private String lastUpdTransCode;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getDepartId() {
        return departId;
    }

    public void setDepartId(String departId) {
        this.departId = departId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getModified() {
        return modified;
    }

    public void setModified(Date modified) {
        this.modified = modified;
    }

    public String getLastUpdTransCode() {
        return lastUpdTransCode;
    }

    public void setLastUpdTransCode(String lastUpdTransCode) {
        this.lastUpdTransCode = lastUpdTransCode;
    }
}
